package com.zbkj.common.request.standard;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 标准增加子节点
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AddleafRequest对象", description = "服务端增加子节点")
public class AddleafRequest {

    /**
     * 名称
     */
    @TableField("name")
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 因子值
     */
    @ApiModelProperty(value = "因子值")
    @TableField("value")
    private String value;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    @TableField("describe_value")
    private String describeValue;


    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID")
    @TableField("p_id")
    private Long parentId;

    /**
     * 层级
     */
    @ApiModelProperty(value = "层级")
    @TableField("level")
    private Long level;

    private Long rootId;
}
